package com.example.service.webhook.business.bank.entity;


import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
@Data
public class BankBillShoppingSheetEntity implements Saveable{
       private long id;
       private String shoppingsheetId;
       private String billId;
       private String userId;
       private String bankName;
       private String billMonth;
       private Long cardId;
       private String cardNum;
       private Date postDate;
       private Date transDate;
       private Integer currencyType;
       private BigDecimal amountMoney;
       private BigDecimal balance;
       private String transAddr;
       private String transMethod;
       private String transChannel;
       private String description;
       private String remark;
       private String oppositeCardNo;
       private String nameOnOppositeCard;
       private String oppositeBank;
	   private String category;
       private Date createTime;
       private Date lastModifyTime;
       private Integer orderIndex;

    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_bankbill_shoppingsheet";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getShoppingsheetId() {
		return shoppingsheetId;
	}

	public void setShoppingsheetId(String shoppingsheetId) {
		this.shoppingsheetId = shoppingsheetId;
	}
	
	

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBillMonth() {
		return billMonth;
	}

	public void setBillMonth(String billMonth) {
		this.billMonth = billMonth;
	}


	public Long getCardId() {
		return cardId;
	}

	public void setCardId(Long cardId) {
		this.cardId = cardId;
	}

	public String getCardNum() {
		return cardNum;
	}

	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}

	public Date getPostDate() {
		return postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public Date getTransDate() {
		return transDate;
	}

	public void setTransDate(Date transDate) {
		this.transDate = transDate;
	}

	public Integer getCurrencyType() {
		return currencyType;
	}

	public void setCurrencyType(Integer currencyType) {
		this.currencyType = currencyType;
	}

	public BigDecimal getAmountMoney() {
		return amountMoney;
	}

	public void setAmountMoney(BigDecimal amountMoney) {
		this.amountMoney = amountMoney;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public String getTransAddr() {
		return transAddr;
	}

	public void setTransAddr(String transAddr) {
		this.transAddr = transAddr;
	}

	public String getTransMethod() {
		return transMethod;
	}

	public void setTransMethod(String transMethod) {
		this.transMethod = transMethod;
	}

	public String getTransChannel() {
		return transChannel;
	}

	public void setTransChannel(String transChannel) {
		this.transChannel = transChannel;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getOppositeCardNo() {
		return oppositeCardNo;
	}

	public void setOppositeCardNo(String oppositeCardNo) {
		this.oppositeCardNo = oppositeCardNo;
	}

	public String getNameOnOppositeCard() {
		return nameOnOppositeCard;
	}

	public void setNameOnOppositeCard(String nameOnOppositeCard) {
		this.nameOnOppositeCard = nameOnOppositeCard;
	}

	public String getOppositeBank() {
		return oppositeBank;
	}

	public void setOppositeBank(String oppositeBank) {
		this.oppositeBank = oppositeBank;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
}
